package com.itheima.service.omsService;

import com.itheima.commons.PageBean;
import com.itheima.domain.db.oms.OmsOrderReturnReason;

/**
 * @author DogeGuo
 */
public interface OrderReturnReasonService {
    /**
     * 分页查询退货原因
     *
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageBean<OmsOrderReturnReason> pageReturnReason(Integer pageNum, Integer pageSize);

    /**
     * 添加收货原因
     *
     * @param omsOrderReturnReason
     */
    void addReturnReason(OmsOrderReturnReason omsOrderReturnReason);

    /**
     * 批量删除退货原因
     *
     * @param ids
     */
    void deleteReturnReason(Integer[] ids);

    /**
     * 修改退货原因启用状态
     *
     * @param ids
     * @param status
     */
    void updateStatus(Integer ids, Integer status);

    /**
     * 获取单个退货原因详情信息
     *
     * @param id
     * @return
     */
    OmsOrderReturnReason getInfoById(Integer id);

    /**
     * 修改退货原因
     *
     * @param omsOrderReturnReason
     */
    void updateInfo(OmsOrderReturnReason omsOrderReturnReason);
}
